package com.skwen.delivery.superdelivery.order.bean;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Generated;

/**
 * Created by skwen on 2017/11/12.
 * SuperDelivery
 */
@Entity
public class WriteOrder {

    @Id
    private long id;

    String sendAddress;

    String sendName;

    String sendPhone;

    String receiveAddress;

    String receiveName;

    String receicePhone;

    String goodsType;

    String goodsWeight;

    String goodsRemark;

    /**
     * 是否货到付款 0 在线支付 1 货到付款
     */
    int ifReceivedPay;

    @Generated(hash = 800492562)
    public WriteOrder(long id, String sendAddress, String sendName,
            String sendPhone, String receiveAddress, String receiveName,
            String receicePhone, String goodsType, String goodsWeight,
            String goodsRemark, int ifReceivedPay) {
        this.id = id;
        this.sendAddress = sendAddress;
        this.sendName = sendName;
        this.sendPhone = sendPhone;
        this.receiveAddress = receiveAddress;
        this.receiveName = receiveName;
        this.receicePhone = receicePhone;
        this.goodsType = goodsType;
        this.goodsWeight = goodsWeight;
        this.goodsRemark = goodsRemark;
        this.ifReceivedPay = ifReceivedPay;
    }

    @Generated(hash = 218474946)
    public WriteOrder() {
    }

    public long getId() {
        return this.id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getSendAddress() {
        return this.sendAddress;
    }

    public void setSendAddress(String sendAddress) {
        this.sendAddress = sendAddress;
    }

    public String getSendName() {
        return this.sendName;
    }

    public void setSendName(String sendName) {
        this.sendName = sendName;
    }

    public String getSendPhone() {
        return this.sendPhone;
    }

    public void setSendPhone(String sendPhone) {
        this.sendPhone = sendPhone;
    }

    public String getReceiveAddress() {
        return this.receiveAddress;
    }

    public void setReceiveAddress(String receiveAddress) {
        this.receiveAddress = receiveAddress;
    }

    public String getReceiveName() {
        return this.receiveName;
    }

    public void setReceiveName(String receiveName) {
        this.receiveName = receiveName;
    }

    public String getReceicePhone() {
        return this.receicePhone;
    }

    public void setReceicePhone(String receicePhone) {
        this.receicePhone = receicePhone;
    }

    public String getGoodsType() {
        return this.goodsType;
    }

    public void setGoodsType(String goodsType) {
        this.goodsType = goodsType;
    }

    public String getGoodsWeight() {
        return this.goodsWeight;
    }

    public void setGoodsWeight(String goodsWeight) {
        this.goodsWeight = goodsWeight;
    }

    public String getGoodsRemark() {
        return this.goodsRemark;
    }

    public void setGoodsRemark(String goodsRemark) {
        this.goodsRemark = goodsRemark;
    }

    public int getIfReceivedPay() {
        return this.ifReceivedPay;
    }

    public void setIfReceivedPay(int ifReceivedPay) {
        this.ifReceivedPay = ifReceivedPay;
    }

}
